<div class="row">
    <form class="col-md-4 col-xs-12" method="post" action="/add-essay">
        <div class="form-group">
            <label>题目</label><input type="text" class="form-control" name="title" />
        </div>
        <div class="form-group">
            <label>内容</label><textarea rows="40" cols="100" name="content"></textarea>
        </div>
        <input type="submit" value="提交" />
    </form>
</div>

<ul>
    {{#each essay}}
    <li>
        <h6>{{title}}</h6>
        <p>{{content}}</p>
        <ul>
            {{#each comments}}
            <li>{{content}}   <p>{{commentUser.name}}</p></li>
             {{/each}}
        </ul>

        <div class="row">
            <form class="col-md-4 col-xs-12" method="post" action="/add-comment">
                <input type="hidden" value={{_id}} name="essayId"></input>
                <div class="form-group">
                    <textarea rows="10" cols="100" name="content"></textarea>
                </div>
                <input type="submit" value="提交" />
            </form>
        </div>
    </li>
    {{/each}}
</ul>